package com.suxin.splitter;

import java.util.List;

/**
 * @author Tang
 * @classname ParamSplitter
 * @description [ 参数拆封器 ]
 * @date 2022/11/7 13:39
 */
public interface ParamSplitter<P> {

    /**
     * 参数切割
     * @param param
     * @param maxSize
     * @return
     */
    List<P> split(P param, int maxSize);

}
